package org.ilead.iserve.dao;

import java.util.List;

import org.ilead.iserve.model.SystemMessage;

public interface ISystemMessageDAO {
	// property constants
	public static final String TITLE = "title";
	public static final String CONTENT = "content";
	
	public abstract void save(SystemMessage transientInstance);

	public abstract void delete(SystemMessage persistentInstance);

	public abstract SystemMessage findById(java.lang.Integer id);

	public abstract List findByExample(SystemMessage instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findAll();

	public abstract SystemMessage merge(SystemMessage detachedInstance);

	public abstract void attachDirty(SystemMessage instance);

	public abstract void attachClean(SystemMessage instance);
}
